package com.qm.console.dao.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "真人认证记录")
@Data
public class LiveVerificationDOWithBLOBs extends LiveVerificationDO {
    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "背景墙")
    private String backgroundImage;

    @ApiModelProperty(value = "认证照片")
    private String liveImage;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "是否自动认证")
    private Integer autoLive;

    @ApiModelProperty(value = "真人审核结果")
    private Integer status;

    @ApiModelProperty(value = "女神审核结果")
    private Integer goddessStatus;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public String getBackgroundImage() {
        return backgroundImage;
    }

    public void setBackgroundImage(String backgroundImage) {
        this.backgroundImage = backgroundImage == null ? null : backgroundImage.trim();
    }

    public String getLiveImage() {
        return liveImage;
    }

    public void setLiveImage(String liveImage) {
        this.liveImage = liveImage == null ? null : liveImage.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", avatar=").append(avatar);
        sb.append(", backgroundImage=").append(backgroundImage);
        sb.append(", liveImage=").append(liveImage);
        sb.append(", nickname=").append(nickname);
        sb.append(", status=").append(status);
        sb.append("]");
        return sb.toString();
    }
}
